const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
		host: 'localhost', // 前端的主机地址
		port: 13045,
		proxy: {
			'/api': {
				target: 'http://localhost:18376', // 后端的主机地址
				changeOrigin: true,//允许跨域
				pathRewrite: {
					'^/api': ""//url前缀替换
				}
			}
		}
  }
})
